FavoritesApi

class FavoritesApi(carContext: CarContext, favoritesProvider: FavoritesDataProvider) : PlacesListOnMapProvider, CarFeedbackItemProvider

Functions

addFavorite
Link copied to clipboard
suspend fun addFavorite(favoriteRecord: FavoriteRecord): Expected<GetPlacesError, FavoriteRecord>
cancel
Link copied to clipboard
open override fun cancel()
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
feedbackItems
Link copied to clipboard
open override fun feedbackItems(): List<CarFeedbackItem>
getFavorites
Link copied to clipboard
suspend fun getFavorites(): Expected<GetPlacesError, List<FavoriteRecord>>
getPlaces
Link copied to clipboard
open suspend override fun getPlaces(): Expected<GetPlacesError, List<PlaceRecord>>
hashCode
Link copied to clipboard
open fun hashCode(): Int
removeFavorite
Link copied to clipboard
suspend fun removeFavorite(favoriteId: String): Expected<GetPlacesError, Boolean>
toString
Link copied to clipboard
open fun toString(): String